<div class="child-box">
    <div class="layui-card layadmin-header">
        <div class="layui-breadcrumb" lay-filter="breadcrumb">
            <a href="javascript:" lay-href=""><i class="iconfont iconhome"></i>首页</a>
            <a><cite>我的财务</cite></a>
            <a href="javascript:" lay-href="/finance/payList">我的付汇</a>
            <a><cite>付汇详情</cite></a>
            <div class="layui-card-header-left" title="刷新" zmark-event="layui.manage.render">
                <i class="layui-icon layui-icon-refresh layui-anim" zmark-anim="layui-anim-rotate"></i>
            </div>
        </div>
    </div>
    <div class="layui-card mt20">
        <form class="layui-form" method="post" lay-filter="form-pay-detail" id="form-pay-detail">
            <input type="hidden" name="id" id="id"/>
            <input type="hidden" name="exchangeRate" id="pay-app-exchange-rate" value="0.0"/>
            <div class="layui-card-header">
                 <span class="def-fc">
                    <a href="javascript:" title="返回" class="head-go-back" lay-href="/finance/payList"><i class="iconfont iconfanhui"></i></a> 基础信息
                </span>
            </div>
            <div class="layui-card-body">
                <div class="layui-row">
                    <div class="layui-col-md6 pr10">
                        <label class="layui-form-label">收款公司</label>
                        <div class="layui-input-block">
                            <input name="payee" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-col-md6 pr10">
                        <label class="layui-form-label">收款银行</label>
                        <div class="layui-input-block">
                            <input name="payeeBankName" class="layui-input"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md6 pr10">
                        <label class="layui-form-label">银行账号</label>
                        <div class="layui-input-block">
                            <input name="payeeBankAccountNo" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-col-md6 pr10">
                        <label class="layui-form-label">SWIFT CODE</label>
                        <div class="layui-input-block">
                            <input name="swiftCode" class="layui-input"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md12 pr10">
                        <label class="layui-form-label">银行地址</label>
                        <div class="layui-input-block">
                            <input name="payeeBankAddress" class="layui-input"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md6 pr10">
                        <label class="layui-form-label">付款金额</label>
                        <div class="layui-input-block">
                            <input name="accountValue" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-col-md6 pr10">
                        <label class="layui-form-label">付款币制</label>
                        <div class="layui-input-block">
                            <input name="currencyName" class="layui-input"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md6 pr10">
                        <label class="layui-form-label">付汇汇率</label>
                        <div class="layui-input-block">
                            <input name="exchangeRate" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-col-md6 pr10">
                        <label class="layui-form-label">人民币金额</label>
                        <div class="layui-input-block">
                            <input name="accountValueCny" class="layui-input"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md6 pr10">
                        <label class="layui-form-label">手续费承担方</label>
                        <div class="layui-input-block">
                            <input name="counterFeeTypeDesc" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-col-md6 pr10">
                        <label class="layui-form-label">付汇手续费</label>
                        <div class="layui-input-block">
                            <input name="bankFee" class="layui-input"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md6 pr10">
                        <label class="layui-form-label">付款方式</label>
                        <div class="layui-input-block">
                            <input name="paymentTermDesc" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-col-md6 pr10">
                        <label class="layui-form-label">合计金额</label>
                        <div class="layui-input-block">
                            <input name="totalPayValue" class="layui-input"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md12 pr10">
                        <label class="layui-form-label">付款要求</label>
                        <div class="layui-input-block">
                            <input name="memo" class="layui-input"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md12 pr10">
                        <label class="layui-form-label">付款水单</label>
                        <div class="layui-input-block">
                            <div class="upload-box" style="min-height: 26px;display: block" file-id="" file-type="imp_payment" business-type="pay_memo"></div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <div class="layui-card mt20">
        <form class="layui-form" method="post" lay-filter="form-pay-apply-order" id="form-pay-apply-order">
            <div class="layui-card-header">
                <span class="def-fc left-split">付汇订单</span>
            </div>
            <div class="layui-card-body">
                <div class="layui-row tab-sm">
                    <table class="layui-hide" id="pay-detail-order-tab"></table>
                </div>

                <blockquote class="layui-elem-quote" style="margin-top: 10px">
                    <div class="layui-row">
                        <div class="layui-col-md3"><span class="layui-badge-dot"></span>&nbsp;&nbsp;付汇汇率：<h2 style="display: inline-block;color: #666;font-size: 18px" class="exchangeRate"><dot/></h2></div>
                        <div class="layui-col-md3"><span class="layui-badge-dot"></span>&nbsp;&nbsp;人民币金额：<h2 style="display: inline-block;color: #666;font-size: 18px" class="payCny"><dot/></h2></div>
                        <div class="layui-col-md3"><span class="layui-badge-dot"></span>&nbsp;&nbsp;付汇手续费：<h2 style="display: inline-block;color: #666;font-size: 18px" class="handlingFee">0.00</h2></div>
                        <div class="layui-col-md3"><span class="layui-badge-dot"></span>&nbsp;&nbsp;金额合计：<h2 style="display: inline-block;color: #666;font-size: 18px" class="payTotalCny"><dot/></h2></div>
                    </div>
                    <div class="layui-row" style="margin-top: 8px">
                        <p>请将以上应付款项按如下方式付至我司银行账户：</p>
                        <div id="subjectBank"></div>
                    </div>
                </blockquote>
                <div class="layui-row pt10 pb10">
                    <div class="pr10 normal t-a-r">
                        <button type="button" class="layui-btn layui-btn-normal sub-order-btn" onclick="history.back()"><i class="iconfont iconfanhui"></i>返回列表</button>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<script type="text/html" id="totalPriceTpl">
    {{layui.com.formatCurrency(d.totalPrice)}}
</script>
<script type="text/html" id="accountValueTpl">
    {{layui.com.formatCurrency(d.accountValue)}}
</script>
<script type="text/html" id="accountValueCnyTpl">
    {{layui.com.formatCurrency(d.accountValueCny)}}
</script>
<script>
    layui.use('payDetail', layui.factory('payDetail'));
</script>